package com.a3dweijing.wetouch2.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Yxd on 2018/3/26.
 */

public class UserLocationMsg implements Serializable {

    /**
     * flag : true
     * message : 查询成功
     * addressList : [{"address_id":2,"address_name":"成都市温江区","consignee":"小名","consignee_tel":"15845623158","user_id":16,"add_time":null,"address_state":1}]
     */

    private boolean flag;
    private String message;
    private List<AddressBean> addressList;

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<AddressBean> getAddressList() {
        return addressList;
    }

    public void setAddressList(List<AddressBean> addressList) {
        this.addressList = addressList;
    }

    public static class AddressBean implements Serializable {
        /**
         * address_id : 2
         * address_name : 成都市温江区
         * consignee : 小名
         * consignee_tel : 15845623158
         * user_id : 16
         * add_time : null
         * address_state : 1
         */

        private int address_id;
        private String address_name;
        private String consignee;
        private String consignee_tel;
        private int user_id;
        private Object add_time;
        private int address_state;

        public int getAddress_id() {
            return address_id;
        }

        public void setAddress_id(int address_id) {
            this.address_id = address_id;
        }

        public String getAddress_name() {
            return address_name;
        }

        public void setAddress_name(String address_name) {
            this.address_name = address_name;
        }

        public String getConsignee() {
            return consignee;
        }

        public void setConsignee(String consignee) {
            this.consignee = consignee;
        }

        public String getConsignee_tel() {
            return consignee_tel;
        }

        public void setConsignee_tel(String consignee_tel) {
            this.consignee_tel = consignee_tel;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public Object getAdd_time() {
            return add_time;
        }

        public void setAdd_time(Object add_time) {
            this.add_time = add_time;
        }

        public int getAddress_state() {
            return address_state;
        }

        public void setAddress_state(int address_state) {
            this.address_state = address_state;
        }
    }
}
